namespace System.Web.Core
{
    public class RoleRequest : TEntityRequest<Role>
    {
        private string name = null;

        #region Constructors

        public RoleRequest()
        {
            EntityId = GetParameterValue<int>(ParameterName.RoleId);
        }

        #endregion

        public string Name
        {
            get
            {
                return name;
            }
            set
            {
                name = value;
            }
        }
    }
    public class RoleListRequest : TEntityListRequest<Role>
    {
        private int? userId = GetParameterValue<int?>(ParameterName.UserId);

        public int? UserId
        {
            get
            {
                return userId;
            }
            set
            {
                userId = value;
            }
        }
    }
    public class RoleReply : EntityReply
    {
    }
}